package com.huawei.hianalytics.ab.bc.cd.ab;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public final class ab {
    static Map<String, ef> ab = new HashMap();
    private static ab cd;
    private de bc = new de();

    private ab() {
    }

    public static ab ab() {
        if (cd == null) {
            de();
        }
        return cd;
    }

    private static synchronized void de() {
        synchronized (ab.class) {
            if (cd == null) {
                cd = new ab();
            }
        }
    }

    public ef ab(String str) {
        return (ef) ab.get(str);
    }

    public void ab(String str, ef efVar) {
        ab.put(str, efVar);
    }

    public Set<String> bc() {
        return ab.keySet();
    }

    public de cd() {
        return this.bc;
    }
}
